import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import baseComponent from './plugins/baseComponent'
import api from './api'
import VueAwesomeSwiper from 'vue-awesome-swiper'

import './utils/rem'

import './assets/css/reset.css'
import './assets/icon/iconfont.css'
import 'swiper/dist/css/swiper.css'

Vue.use(baseComponent)
Vue.use(VueAwesomeSwiper)

Vue.prototype.$api = api
Vue.config.productionTip = false

const vm = new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

export default vm
